export interface ILoginRequest {
  username: string;
  password: string;
  userId?: string;
  appUser?: string | null;
}
export interface IUser {
  id: string;
  userForApp: string;
  username: string;
  appUser: string | null;
  url: string;
}
export interface ILoginResponse {
  token: string;
  user: IUser;
}

export interface IRefreshTokenResponse {
  token: string;
}
export interface IUpdatePwdRequest {
  id: string;
  oldPwd?: string;
  newPwd: string;
}
export interface IUpdateAvatarRequest {
  id: string;
  url: string;
}
